<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>详情</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('doedit')}"
          enctype="multipart/form-data">


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>时间
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="date" name="time" class="form-control" value="{$res['time']}" readonly>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>天气
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" name="wea" class="form-control" value="{$res['wea']}" readonly>
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>班组长姓名
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="leader" class="form-control" readonly>
                    <option value="{$res.leader}">{$res['lname']}</option>
                </select>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>班组
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="leaType" class="form-control" readonly>
                    <option value="{$res.leaType}">{$res.ltype}</option>

                </select>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>施工人数
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" name="nums" class="form-control" value="{$res.nums}" readonly>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>描述
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea cols="20" rows="5" name="desc" class="form-control" readonly>{$res.desc}</textarea>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>特别事项
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea cols="20" rows="5" name="desc" class="form-control" readonly>{$res.content}</textarea>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>甲方到场意见
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea cols="20" rows="5" name="desc" class="form-control" readonly>{$res.opi}</textarea>
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>是否作废
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="del" id="" class="form-control">
                    <?php
                        if($res['del'] == 2){
                        ?>
                    <option value="2">作废</option>

                    <?php
                        }else{
                        ?>
                    <option value=""></option>

                    <?php
                           }
                        ?>
                    <option value="2">作废</option>
                </select>
            </div>
        </div>

        <input type="hidden" name="id" value="{$res['id']}">


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>